Skip to main content
POST
/
v1
/
axons
JavaScript
import Runloop from '@runloop/api-client';

const client = new Runloop({
  bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted
});

const axonView = await client.axons.create();

console.log(axonView.id);
{
  "id": "<string>",
  "created_at_ms": 123,
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string | null

(Optional) Name for the axon.

Response

200 - application/json

OK

id
string
required

The axon identifier.

created_at_ms
integer<int64>
required

Creation time in milliseconds since epoch.

name
string | null

The name of the axon.